/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pradoeditor.wizard.newitem;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author jaime
 */
public class CategoryItem
{
    private String name;
    private List<TypeItem> typesItems = new ArrayList<TypeItem>();

    public CategoryItem(String name)
    {
        this.name = name;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the typesItems
     */
    public List<TypeItem> getTypesItems() {
        return typesItems;
    }

    @Override
    public String toString()
    {
        return name;
    }
}
